const app = require('./app/index')
require('./app/database')
const config = require('./app/config')
const useRouter = require('./router')

useRouter(app)

app.listen(config.SERVER_PORT, () => {
  console.log('is serving');
})